css: Don't lose inset when computing shadows
authorMatthias Clasen <mclasen@redhat.com>
Mon, 27 Jan 2020 01:16:16 +0000 (20:16 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 27 Jan 2020 01:18:23 +0000 (20:18 -0500)
This was showing up as reftest failures,
sporadically

gtk/gtkcssshadowvalue.c

index 08d02cfae8f1341b002ca1be0c794863540a3b52..9a0917ef94c9185f2818c59de0a24bb594aa733a 100644 (file)
@@ -131,6 +131,7 @@ gtk_css_value_shadow_compute (GtkCssValue      *value,
       shadows[i].radius = _gtk_css_value_compute (shadow->radius, property_id, provider, style, parent_style);
       shadows[i].spread = _gtk_css_value_compute (shadow->spread, property_id, provider, style, parent_style),
       shadows[i].color = _gtk_css_value_compute (shadow->color, property_id, provider, style, parent_style);
+      shadows[i].inset = shadow->inset;
     }
 
   return gtk_css_shadow_value_new (shadows, value->n_shadows);